package com.leesche.zcsp.node.utils;

@SuppressWarnings("All")
public class PayConfig {
	public static final String appid = "wxd66746c90dac4e8e";
	public static final String appsecret = "a1191f224dd0739d5a6da7b6012b7eba";
	public static final String partner = "1264701701";
	public static final String partnerkey = "LB73AQ1MJ59HSCIGRKZ6UWTVO0D2PFYN";
	public static final String backUri = "http://m.leesche.cn/node/topay";
	public static final String notify_url = "http://youyicloud.net/node/pay/notify";//http://m.leesche.cn/node/notify
	public static final String createOrderURL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	public static final String authorize = "https://open.weixin.qq.com/connect/oauth2/authorize?";
	public static final String WECHAT_AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect ";
	public static final String accessToken = "https://api.weixin.qq.com/sns/oauth2/access_token";
	public static final String bizpayurl = "weixin://wxpay/bizpayurl";

	public static final String giveMoney = "http://m.leesche.cn/node/giveMoney";
	public static final String transfers = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";

	//提款证书路径
	public static final String giveMoneyURL ="/data/apiclient_cert.p12";
	//public static final String giveMoneyURL ="d:\\apiclient_cert.p12";
	//网页授权获取OpenID
	public static final String  WECHAT_OAUTH="https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code ";
	//网页授权界面
	public static final String  WECHAT_OAUTHVIEW="https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";

	//微信同意下单界面
	public static final String  WECHAT_UNIFIEORDER="https://api.mch.weixin.qq.com/pay/unifiedorder";
	//微信回调接口
	public static final String  WECHAT_NOTIFY_URL="http://youyicloud.net/node/pay/notify";//http://m.leesche.cn/node/payinfo/notify

	//微信取现 NO_CHECK：不校验真实姓名
	public static final String WECHAT_TRANSFERS_NO_CHECK="NO_CHECK";

	//微信取现强校验真实姓名（未实名认证的用户会校验失败，无法转账）
	public static final String WECHAT_TRANSFERS_FORCE_CHECK="FORCE_CHECK";

	//针对已实名认证的用户才校验真实姓名（未实名认证用户不校验，可以转账成功）
	public static final String WECHAT_TRANSFERS_OPTION_CHECK="OPTION_CHECK";

	public static final Integer  PAY_WECHAT=2;

	public static  final Integer PAY_ALIPAY=3;


	public static final String  WECHAT_ACCESS_TOKEN="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

	public static final String  WECHAT_JS_TOKEN="https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi";

	public static final String GIZWITSZAPI = "noti.gizwitsapi.com";


	public static final int OVERTIME = 30*1000;

	/** ---------------------------------------支付宝授权相关配置-------------------------------------------------*/
	public static final String ALIPAY_APPID = "2016092401964622";
	public static final String ALIPAY_GATEWAY = "https://openapi.alipay.com/gateway.do";
	public static final String ALIPAY_SIGN_TYPE = "RSA";
	public static final String ALIPAY_GRANT_TYPE = "authorization_code";
	public static final String ALIPAY_AUTHVIEW = "https://openauth.alipay.com/oauth2/publicAppAuthorize.htm?app_id=APPID&scope=auth_base&redirect_uri=ENCODED_URL";
	public static final String ALIPAY_APP_PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCFSRBTQXbzViA/Kpy2ndcqjjWVynat05atNnWslX8/Ldz0qUP72qRMgNlMEQJR9VuV5Rrxevb/pVhpYFBLnIskAWgx8jMHU50vBM/fOkFUAztiX6bAu5oNeH/i1hDb7uBVG+duOm/2WOmWkSra2x5A7vZiVFGsjj2VatSgvJQNDv1IkdOaLwsCbIWG/RJPfB/XyrpkD8s0rFCCsRX0EpoKBzU6UW9lZ0ByuR/81t3QvtW9MB61VLwkOSaOdK3xAgXEuJlLENNcDrDfsEK2r+f8cdwcLXZqFWFw++2apH5cVd61tnZZC7w7fLgQhiLyUEgbsARPSNhsJCqKPOsh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Ol1t/aQWvYj5XtKm114PS5ktxCE1IYAPSqiv6EuP7vZdkWY/Z62vzKRDmtYmUITMlfLQdtq/Vnywk9JEMDw9qgWRYA2rSixUB6iVV9saAUMQBaJ7BkGR83pHSOnZ+FJSG1UzKHlerKj6RMpMAf8HHQx+dtGqqlQDlrPqg==";
	public static final String ALIPAY_APP_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhUkQU0F281YgPyqctp3XKo41lcp2rdOWrTZ1rJV/Py3c9KlD+9qkTIDZTBECUfVbleUa8Xr2/6VYaWBQS5yLJAFoMfIzB1OdLwTP3zpBVAM7Yl+mwLuaDXh/4tYQ2+7gVRvnbjpv9ljplpEq2tseQO72YlRRrI49lWrUoLyUDQ79SJHTmi8LAmyFhv0ST3wf18q6ZA/LNKxQgrEV9BKaCgc1OlFvZWdAcrkf/Nbd0L7VvTAetVS8JDkmjnSt8QIFxLiZSxDTXA6w37BCtq/n/HHcHC12ahVhcPvtmqR+XFXetbZ2WQu8O3y4EIYi8lBIG7AET0jYbCQqijzrIQMKcwIDAQAB";
	public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";


	/** ------------------------------------- 翔融支付相关配置信息 begin ----------------------------------- */
	public static final String SINOPAY_MCHID_TEST = "625478762377785056";//625478579064286331
	public static final String SINOPAY_ALI_BRANCH_NO_TEST = "625487212018611737";
	public static final String SINOPAY_MD5_KEY_TEST = "AWDF1GE2Q3C3G5Y7D2S1H2E9D6G1ELXJ";
	public static final String SINOPAY_URL_TEST = "http://test.sinopaypal.com.cn/api/gateway.do";
	public static final String SINOPAY_NOTIFY_URL_TEST="http://m.leesche.cn/node/pay/sino/notify";
	public static final String SINOPAY_PREPAY_SERVICE = "pay.weixin.jspay";
	public static final String SINOPAY_QUERY_SERVICE = "unified.trade.query";
    public static final String SINOPAY_APPID_TEST = "wx7d750da55edc4742";//wx7d750da55edc4742  wx632a2a805e441a07
    public static final String SINOPAY_APPSECRET_TEST = "a696a911b6f12fde8aace071eb294a22";//a696a911b6f12fde8aace071eb294a22 6a7574b267b0a58238ea8f8d70e7ea81

	public static final String SINOPAY_URL = "https://sinopaypal.com.cn/api/gateway.do";//接口地址
	public static final String SINOPAY_NOTIFY_URL="http://youyicloud.net/node/pay/sino/notify";
	public static final String SINOPAY_SERVICE_WECHAT = "pay.weixin.jspay";
	public static final String SINOPAY_SERVICE_ALIPAY = "pay.alipay.native";
	public static final String MEMBERPAY_NOTIFY_URL="http://youyicloud.net/node/pay/notifyMemberPay";
	public static final String MEMBERPAY_NOTIFY_URL_TEST="http://m.leesche.cn/node/pay/notifyMemberPay";


	/** ------------------------------------- 民生银行支付相关配置信息 begin -------------------------------- */
	public static final String CMBC_PAY_URL_TEST = "https://gzwkzftest.cmbc.com.cn/payment-gate-web/gateway/api/backTransReq";
	public static final String CMBC_PAY_URL = "https://gzwkzf.cmbc.com.cn/payment-gate-web/gateway/api/backTransReq";
	public static final String CMBC_NOTIFY_URL = "http://youyicloud.net/node/pay/minsheng/callback";
	public static final String CMBC_SUBMERNO = "leeschee";
	public static final String CMBC_SUBMERNAME = "leeschee";


	/** ------------------------------------- 融脉支付相关配置信息 begin -------------------------------- */
	public static final String RM_MCHID_TEST = "100120000000006";
	public static final String RM_MD5KEY_TEST = "09ee838e13f74083b6e0684343c2f482";
	public static final String RM_OPENID_TEST = "o4tjqvhzoTtxf9yOaEZ2dKoVl_-w";
	public static final String RM_TRADETYPE = "cs.pay.submit";
	public static final String RM_WECHAT_PAY = "wftPub";
	public static final String RM_PREPAYURL_TEST = "http://test.rm-tech.com.cn/platform/cloudplatform/api/trade.html";
	public static final String RM_JSPAYURL_TEST = "http://test.rm-tech.com.cn/platform/jspay.html";
	public static final String RM_NOTIFY_URL = "http://m.leesche.cn/node/pay/rm/notify";
	public static final String RM_CALLBACK_URL = "http://m.leesche.cn/node/pay/success";



	//支付结算渠道：民生=cmbc, 翔融=sino, 微信/支付宝官方=native, 融脉=rm
	public static final String PAY_CHANNEL = "sino";

}
